import Vue from 'vue'
import {
  BaseEllipsis,
  BaseEditor,
  BaseGallery,
  BaseMpLink,
  BaseSelectGoods,
  BaseSelectActivity,
  BaseSelectLive,
  GallerySelector,
  GallerySelectorMultiple
} from '@/components'

import VueViewer from 'v-viewer'
Vue.use(VueViewer)

Vue.use({
  install(Vue) {
    Vue.component('Base-Ellipsis', BaseEllipsis)
    Vue.component('Base-Editor', BaseEditor)
    Vue.component('Base-Gallery', BaseGallery)
    Vue.component('Base-MpLink', BaseMpLink)
    Vue.component('Base-SelectGoods', BaseSelectGoods)
    Vue.component('Base-SelectActivity', BaseSelectActivity)
    Vue.component('Base-SelectLive', BaseSelectLive)
    Vue.component('GallerySelector', GallerySelector)
    Vue.component('GallerySelectorMultiple', GallerySelectorMultiple)
  }
})
